<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
<title>Users</title>
<link href="./resources/css/showPlayers.css" rel="stylesheet" type="text/css" media="screen" />

</head>
<body>
<div class="automargin">
<p><a href="./addAdmin">add admin</a></p>
<table border="1">
<tr>
<th>Id</th>
<th>Name</th>
<th>login</th>
<th>password</th>
<th>role</th>
</tr>	
<c:forEach items="${users}" var="user">
<tr>
<td>${user.id}</td>
<td>${user.name}</td>
<td>${user.login}</td>
<td>${user.password}</td>
<td>${user.role}</td>
</tr>
</c:forEach>
</table>
</div>
</body>
</html>